package com.alibaba.yinan.domain.execution.executor;

import com.alibaba.yinan.domain.task.Task;
import com.alibaba.yinan.domain.task.enums.TaskType;

/**
 * @ClassName TaskExecutor
 * @Author mengke
 * @create 2025/8/4 02:23
 * @Description
 */
public interface TaskExecutor {

    boolean support(TaskType type);

    void execute(Task task);
}
